//
//  AnchorBurron.m
//  网络FM
//
//  Created by dlios on 15/5/23.
//  Copyright (c) 2015年 dengzhicheng.com. All rights reserved.
//

#import "AnchorBurron.h"

@implementation AnchorBurron


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createAnchor];
    }
    return self;
}


- (void)dealloc
{
    [_anchorName retain];
    [_view release];
    [_Num release];
    [super dealloc];
}


- (void)createAnchor
{
    _view= [[UIImageView alloc]initWithFrame:CGRectMake(10, 10, 60, 60)];
    [self addSubview:_view];
    [_view release];
    
    _anchorName = [[UILabel alloc]initWithFrame:CGRectMake(80, 30, 100, 20)];
     [self addSubview:_anchorName];
    [_anchorName release];
 
    _Num = [[UILabel alloc]initWithFrame:CGRectMake(70, 50, 40, 20)];
     [self addSubview:_Num];
    [_Num release];
}
@end
